<?php
class SettingApiAction extends AdminAction
{
	public function __construct()
	{
		parent::__construct();
		$this->layout = 'default';
	}
	
	public function execute()
	{
		$key = Util::loadSetting('api.key');
		$secret = Util::loadSetting('api.secret');
		$nick = Util::loadSetting('api.nick');
		
		$this->data['info'] = array('key'=>$key,'secret'=>$secret,'nick'=>$nick);
		
		$this->data['menu'] = 'setting';
		$this->data['submenu'] = 'api';
	}
}
